﻿using System.Collections.Generic;

namespace Monk.Site.Models
{
    public class FormValidationModel
    {
        public List<ViewModel> Views { get; set; }
    }
    public class ViewModel
    {
        public string Area { get; set; }
        public string Controller { get; set; }
        public string Action { get; set; }
        public List<FieldModel> Fields { get; set; }
    }
    public class FieldModel
    {
        public string Field { get; set; }
        public string Placeholder { get; set; }
        public string FrontendRegExp { get; set; }
        public string BackendRegExp { get; set; }
        public string Nullmsg { get; set; }
        public string Sucmsg { get; set; }
        public string Errormsg { get; set; }
    }
}